﻿@model ModalDownload.Models.ADTable
@using ModalDownload.Models;
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>ADDetail</title>
    @Styles.Render("~/Content/admin/base.css")
    @Styles.Render("~/Content/admin/form.css")
</head>
<body>
    <div>
        @using (Html.BeginForm("ADDetail", "Admin", new { viewmode=ViewBag.ViewMode }, FormMethod.Post, new { name = "PublishForm", enctype = "multipart/form-data" }))
        {
            @Html.AntiForgeryToken()
            @Html.ValidationSummary(true)
            <table id="tableList" class="editForm" cellpadding="0" cellspacing="0">
                <tr>
                    <td style="width:10%"></td>
                    <td style="width:30%"></td>
                    <td style="width:30%"></td>
                    <td style="width:30%"></td>
                </tr>
                <tr>
                    <td align="center" style="font-size:22px;" colspan="4">广告信息</td>
                </tr>
                <tr>
                    <td class="fieldLable">@Html.LabelForModel("标题")</td>
                    <td class="fieldLable" colspan="3">@Html.LabelFor(m=>m.title,Model.title)</td>
                </tr>
                <tr>
                    <td class="fieldLable">@Html.LabelForModel("代码")</td>
                    <td class="fieldLable" colspan="3">@Html.TextAreaFor(m => m.code, new { rows = "8", style = "width:90%" })</td>
                </tr>
                @*<tr>
                    <td class="fieldLable">@Html.LabelForModel("启用")</td>
                    <td class="fieldLable" colspan="3">@Html.CheckBoxFor(m => m.valid,null)</td>
                </tr>*@
                <tr>
                    <td class="fieldLable" colspan="4"><input class="btn-" name="Submit1" type="submit" value="保存" /></td>
                </tr>
            </table>
        }
    </div>
</body>
</html>
